package com.jiedeng.model;

import javax.persistence.*;
import java.util.Date;

/**
 * @author 覃远龙
 * @ClassName: FileRecord
 * @Description:
 * @date 2017/7/25 14:11
 */
@Entity(name = "t_FileRecord")
public class FileRecord {

    @Id
    @Column(name = "ID", length = 100)
    private String id;

    @Column(name = "CheckOrClose")
    private boolean checkClose;

    @Column(name = "Check_ID", length = 100)
    private String checkId;

    @Column(name = "sortID")
    private int sortId;

    @Column(name = "Recorder")
    private long recorder;

    @Column(name = "Rtime")
    @Temporal(TemporalType.TIMESTAMP)
    private Date rTime;

    @Column(name = "type")
    private int type;

    @Column(name = "fileType", length = 20)
    private String fileType;

    @Column(name = "oldphoto_path", length = 1000)
    private String oldPhotoPath;

    @Column(name = "photo_path", length = 1000)
    private String photoPath;

    @Column(name = "photoPath1", length = 1000)
    private String photoPath1;

    @Column(name = "longitude", length = 500)
    private String longitude;

    @Column(name = "latitude", length = 500)
    private String latitude;

    @Column(name = "Compass", length = 50)
    private String compass;

    @Column(name = "num")
    private int num;

    @Column(name = "indate")
    @Temporal(TemporalType.TIMESTAMP)
    private Date indate;

    @Column(name = "remark", length = 500)
    private String remark;

    @Column(name = "Isupload")
    private int isUpload;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isCheckClose() {
        return checkClose;
    }

    public void setCheckClose(boolean checkClose) {
        this.checkClose = checkClose;
    }

    public String getCheckId() {
        return checkId;
    }

    public void setCheckId(String checkId) {
        this.checkId = checkId;
    }

    public int getSortId() {
        return sortId;
    }

    public void setSortId(int sortId) {
        this.sortId = sortId;
    }

    public long getRecorder() {
        return recorder;
    }

    public void setRecorder(long recorder) {
        this.recorder = recorder;
    }

    public Date getrTime() {
        return rTime;
    }

    public void setrTime(Date rTime) {
        this.rTime = rTime;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getOldPhotoPath() {
        return oldPhotoPath;
    }

    public void setOldPhotoPath(String oldPhotoPath) {
        this.oldPhotoPath = oldPhotoPath;
    }

    public String getPhotoPath() {
        return photoPath;
    }

    public void setPhotoPath(String photoPath) {
        this.photoPath = photoPath;
    }

    public String getPhotoPath1() {
        return photoPath1;
    }

    public void setPhotoPath1(String photoPath1) {
        this.photoPath1 = photoPath1;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getCompass() {
        return compass;
    }

    public void setCompass(String compass) {
        this.compass = compass;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public Date getIndate() {
        return indate;
    }

    public void setIndate(Date indate) {
        this.indate = indate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getIsUpload() {
        return isUpload;
    }

    public void setIsUpload(int isUpload) {
        this.isUpload = isUpload;
    }

    public FileRecord() {
    }

    public FileRecord(String id, int num) {
        this.id = id;
        this.num = num;
    }
}
